package com.net.xpay.common.dao;

import com.net.common.dao.Page;
import com.net.xpay.common.domain.LoginLog;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.LoginLogSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface LoginLogMapper extends PagedMapper<Long, LoginLog> {
    List<LoginLog> search(@Param("searchModel")  LoginLogSearchModel loginLogSearchModel,@Param("page") Page page);
    Long searchCount(@Param("searchModel") LoginLogSearchModel loginLogSearchModel);
}
